package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户资源包对象 byw_user_vitae_info
 * 
 * @author ruoyi
 * @date 2024-05-24
 */
public class BywUserVitaeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long sysUserId;

    /** 简历包名称 */
    @Excel(name = "简历包名称")
    private String viteaName;

    /** 简历总数 */
    @Excel(name = "简历总数")
    private Integer vitaeNum;

    /** 剩余简历数 */
    @Excel(name = "剩余简历数")
    private Integer residueNum;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /** 失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiryTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }
    public void setViteaName(String viteaName) 
    {
        this.viteaName = viteaName;
    }

    public String getViteaName() 
    {
        return viteaName;
    }
    public void setVitaeNum(Integer vitaeNum) 
    {
        this.vitaeNum = vitaeNum;
    }

    public Integer getVitaeNum() 
    {
        return vitaeNum;
    }
    public void setResidueNum(Integer residueNum) 
    {
        this.residueNum = residueNum;
    }

    public Integer getResidueNum() 
    {
        return residueNum;
    }
    public void setExpiryTime(Date expiryTime) 
    {
        this.expiryTime = expiryTime;
    }

    public Date getExpiryTime() 
    {
        return expiryTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUserId", getSysUserId())
            .append("viteaName", getViteaName())
            .append("vitaeNum", getVitaeNum())
            .append("residueNum", getResidueNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("expiryTime", getExpiryTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
